import React from 'react'
import {Collapse} from 'antd'


export class Answer extends React.Component {
    static defaultProps = {
        answer : "Default Answer",
    };

    render (){
        const{answer,  collapse} = this.props

        return(
            <Collapse isOpen={collapse}>
                <div color="muted">{answer}</div>
            </Collapse>
        )
    }
}
